package com.ruoyi.web.mapper;

import java.util.List;
import com.ruoyi.web.domain.CurrencyBlock;

/**
 * 区块Mapper接口
 * 
 * @author ruoyi
 * @date 2022-12-30
 */
public interface CurrencyBlockMapper 
{
    /**
     * 查询区块
     * 
     * @param id 区块主键
     * @return 区块
     */
    public CurrencyBlock selectCurrencyBlockById(Long id);

    /**
     * 查询区块列表
     * 
     * @param currencyBlock 区块
     * @return 区块集合
     */
    public List<CurrencyBlock> selectCurrencyBlockList(CurrencyBlock currencyBlock);

    /**
     * 新增区块
     * 
     * @param currencyBlock 区块
     * @return 结果
     */
    public int insertCurrencyBlock(CurrencyBlock currencyBlock);

    /**
     * 修改区块
     * 
     * @param currencyBlock 区块
     * @return 结果
     */
    public int updateCurrencyBlock(CurrencyBlock currencyBlock);

    /**
     * 删除区块
     * 
     * @param id 区块主键
     * @return 结果
     */
    public int deleteCurrencyBlockById(Long id);

    /**
     * 批量删除区块
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCurrencyBlockByIds(Long[] ids);
}
